package com.ruoyi.common.domain.doctor;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 患者信息对象 patient
 * 
 * @author ruoyi
 * @date 2025-08-13
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Patient extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 患者ID */
    private Long id;

    /** 患者姓名 */
    @Excel(name = "患者姓名")
    private String name;

    /** 年龄 */
    @Excel(name = "年龄")
    private Integer age;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 患者昵称 */
    @Excel(name = "患者昵称")
    private String nickname;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String cardId;

    /** 头像 */
    @Excel(name = "头像")
    private String avatar;

    /** 居住地址 */
    @Excel(name = "居住地址")
    private String address;

    /** 删除标记：0未删除，1已删除 */
    private Integer del;
    private Long userId;

    /*定义一对多，患者关注医生*/
    private List<Doctor> doctorList;
}
